<style>
#intvar-area{
    height: 6px;
}
</style>
<?php if($config['multiplenav']): ?>
<style>
@media screen and (max-width: 768px) {
    #intvar-area{
        height: 54px;
    }
}
</style>
<?php endif; ?>

<!-- 左侧菜单栏 -->
<section class="sidebar">
    <!-- 管理员信息 -->
    <div class="user-panel hidden-xs">
        <div class="pull-left image">
            <a href="javascript:;">
                <img src="<?php echo $this->assets($userInfo['avatar']);?>" class="img-circle" />
            </a>
        </div>
        <div class="pull-left info">
            <p style="font-size: 16px;"><?php echo $userInfo['username'];?></p>
            <small><?php echo date('Y-m-d H:i:s', $userInfo['login_time']);?></small>
        </div>
    </div>

    <!-- 空间间隔 -->
    <div id="intvar-area"></div>

    <!-- 移动端一级菜单 -->
    <div class="mobilenav visible-xs"></div>

    <!--如果想始终显示子菜单,则给ul加上show-submenu类即可,当multiplenav开启的情况下默认为展开-->
    <ul class="sidebar-menu <?php echo $config['multiplenav'] ? 'show-submenu' : ''; ?>">
        <?php echo $sideBar;?>
    </ul>
</section>